package com.baizhi.service;

import com.baizhi.bean.Perms;
import com.baizhi.bean.Role;
import com.baizhi.bean.User;

import java.util.List;

public interface UserService {
    //代表注册用户
    void register(User user);
    User findByUserName(String username);
    User findRoleByUserName(String username);
    List<Perms> findPermsById(Integer id);


}
